﻿using System;
using System.Net;
using caedisi.Models;


namespace caedisi.Helpers
{
    /// <summary>
    /// A provider class which provide access to all global variables in the app. The utility of this class is to provide a getter to the singleton
    /// object GlobalVariables which then can be referenced in UI Binding as the data context
    /// </summary>
    public class GlobalVariableProvider
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="GlobalVariableProvider"/> class.
        /// </summary>
        public GlobalVariableProvider() { }

        /// <summary>
        /// Gets the global variables.
        /// </summary>
        public Globals GlobalVariables { get { return Globals.Instance; } }

    }
}